﻿@{
    Layout = null;
}
@using MvcMall.AdminPortal.Controllers.AdminUser.ViewModels;
@model ChangePasswordModel
<!DOCTYPE html>
<html>
<head>
    <title>修改密码</title>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs();
        });
    </script>
</head>
<body>
    <div id="tabs">
        <ul>
            <li><a href="#changePwd">修改密码</a></li>
        </ul>
        <div id="changePwd">
            @using (Html.BeginForm())
            {
                <fieldset>
                    <div class="editor-label">
                        @Html.LabelFor(m => m.OldPassword)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.OldPassword)
                        @Html.ValidationMessageFor(m => m.OldPassword)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(m => m.NewPassword)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.NewPassword)
                        @Html.ValidationMessageFor(m => m.NewPassword)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(m => m.RePassword)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.RePassword)
                        @Html.ValidationMessageFor(m => m.RePassword)
                    </div>
                    <p>
                        <input type="submit" value="修改密码" /></p>
                </fieldset>
            }
        </div>
    </div>
</body>
</html>
